import request from '@/router/axios';

/**
 * 获取当前订单一定天数内的曝光数、点击数、安装数、花费
 */
export const queryOfferDaysPerformance = (params) => request({
  url:'/api/beetles-offer/index/query-offer-days-performance',
  method:'get',
  params:{
    ...params
  }
})

export const queryAccountDaysPerformance = (params) => request({
  url:'/api/beetles-offer/index/query-account-days-performance',
  method:'get',
  params:{
    ...params
  }
})

export const queryAccountOpDaysPerformance = (params) => request({
  url:'/api/beetles-offer/index/query-account-op-days-performance',
  method:'get',
  params:{
    ...params
  }
})

export const queryDesignerDaysPerformance = (params) => request({
  url:'/api/beetles-offer/index/query-designer-days-performance',
  method:'get',
  params:{
    ...params
  }
})

export const queryAccountCreativeOnlinePerformance = (params) => request({
  url:'/api/beetles-offer/index/query-account_creative-online-performance',
  method:'get',
  params:{
    ...params
  }
})

export const queryOfferOnlinePerformance = (params) => request({
  url:'/api/beetles-offer/index/query-offer-online-performance',
  method:'get',
  params:{
    ...params
  }
})

export const queryOfferPlatformDurationPerformance = (params) => request({
  url:'/api/beetles-offer/index/query-offer-platform-duration-performance',
  method:'get',
  params:{
    ...params
  }
})
